package com.example.demo02.Swaggerdemo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "用户User类", description = "描述用户User信息")
public class User {
    @Schema(name = "用户名")
    private String username;

    @Schema(name = "密码")
    private String password;
}
